package com.corechina.apex_osswords.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 文件表
 * </p>
 *
 * @author cc
 * @since 2022-03-11
 */
@Getter
@Setter
@TableName("core_files")
@ApiModel(value = "CoreFiles对象", description = "文件表")
public class CoreFiles implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("标识")
    private String guidKey;

    @ApiModelProperty("文件存储名称")
    private String fileName;

    @ApiModelProperty("真实名称")
    private String realName;

    @ApiModelProperty("路径")
    private String path;

    @ApiModelProperty("类型后缀")
    private String ext;

    @ApiModelProperty("长度")
    private String length;

    @ApiModelProperty("缩略图路径")
    private String thumbnailPath;

}
